package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("考场信息实体")
data class ExamRoomVo(

        @ApiModelProperty("id")
        var id: String? = "",

        @ApiModelProperty("考场名字")
        var examName: String? = "",

        @ApiModelProperty("创建者")
        var createBy: String? = "",

        @ApiModelProperty("考场位置")
        var examAddress: String? = "",

        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "创建时间", hidden = true)
        var createTime: Date? = null

)